package exam.driver.jdbc;

/**
 * <p>JdbcConnection</p>
 * <p>Lưu các thuộc tính kết nối đến database/server</p>
 * 
 * @author PHONGTN
 * @version (17/4/2012)
 */
public class JdbcConnection {
	/**
	 * driver
	 */
	private String driver;
	public String getDriver() { return this.driver; }
	
	/**
	 * url
	 */
	private String url;
	public String getUrl() { return this.url; }
	
	/**
	 * username
	 */
	private String username;
	public String getUsername() { return this.username; }
	
	/**
	 * password
	 */
	private String password;
	public String getPassword() { return this.password; }
	
	/**
	 * Constructor
	 * @param driver
	 * @param url
	 * @param username
	 * @param password
	 */
	public JdbcConnection(String driver, String url, String username, String password) {
		this.driver = driver;
		this.url = url;
		this.username = username;
		this.password = password;
	}
}
